package com.zc.dto;

import com.zc.dto.baseDto.BasePageDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class StuTestDto extends BasePageDto {
    /**
     * 主键
     */
    private String id;

    /**
     * 姓名
     */
    @NotBlank
    private String name;

    /**
     * 性别
     */
    @NotNull
    private String sex;
}